package com.zhentao.service;

import com.zhentao.model.common.dtos.ResponseResult;
import com.zhentao.model.wemedia.pojo.WmNews;
import org.springframework.scheduling.annotation.Async;

/**
 * @ClassName: WmNewsAutoScanService
 * @Author: 振涛教育_小T
 * @Date: 2024/12/26 10:40
 */
public interface WmNewsAutoScanService {
    /**
     * 审核
     *
     * @param id
     */
    //加一个异步调用
    @Async
    void autoScanWnMews(Integer id);

    /**
     * 保存app端的文章
     *
     * @param wmNews
     * @return
     */
    ResponseResult saveAppArticle(WmNews wmNews);
}
